<template>
	<view class="noneBox">
		<image
			:style="'margin-top:' + marginTop + 'rpx;' + 'width:' + imageWith + 'rpx;' + 'height:' + imageHight + 'rpx;'"
			src='https://yongbainian.oss-cn-beijing.aliyuncs.com//yongbainian/20210526/cb9dfa0afa8a12142a8909958c807dc4.png'
			mode=""></image>
		<view class="text">{{text}}</view>
	</view>
</template>

<script>
	export default {
		name: "x-nothing",
		props: {
			marginTop: {
				type: [Number],
				default: 160
			},
			imageWith: {
				type: [Number],
				default: 400
			},
			imageHight: {
				type: [Number],
				default: 400
			},
			text: {
				type: [String],
				default: '空空如也'
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.noneBox {
		width: 100%;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		align-items: center;

		.text {
			margin-top: 30rpx;
			font-size: 28rpx;
			color: #CCCCCC;
		}
	}
</style>
